﻿using RescueApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;



namespace Rescue.Services
{
    public interface Rescue1
    {
        //救援申请

        public List<RescueApply> QueryAllItems();


        public RescueApply FindById(int id);


        public int Insert(RescueApply item);

        public int Update(RescueApply item);

        public int Delete(RescueApply item);

    }


    public interface Rescue2
    {
        //派遣救援
        public List<RescueDispatch> QueryAllItems();


        public RescueDispatch FindById(int id);


        public int Insert(RescueDispatch item);

        public int Update(RescueDispatch item);

        public int Delete(RescueDispatch item);
    }
}
